/**
 * @(#)UserDao.java, 2020/8/3.
 * <p/>
 * Copyright 2020 Netease, Inc. All rights reserved.
 * NETEASE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */
package com.lhh.myspringboot.dao;


import com.lhh.myspringboot.bean.Admin;

import java.util.List;

/**
 * @author lvhouhou(lvhouhou @ 163.com)
 */

public interface AdminDao  {



    void register(Admin admin);

    void update(Admin admin);

    Admin getAdminById(String id);

    //通过用户名获取Admin
    Admin getAdminIdByUsername(String username);

    List<Admin> getAdminList();


}
